import request from '@/utils/request'

// 查询曲线分析结果列表
export function listDispatchCurveAnalysisResults(query) {
  return request({
    url: '/system/dispatchCurveAnalysisResults/list',
    method: 'get',
    params: query
  })
}

// 查询曲线分析结果详细
export function getDispatchCurveAnalysisResults(curveAnalysisResultsId) {
  return request({
    url: '/system/dispatchCurveAnalysisResults/' + curveAnalysisResultsId,
    method: 'get'
  })
}

// 新增曲线分析结果
export function addDispatchCurveAnalysisResults(data) {
  return request({
    url: '/system/dispatchCurveAnalysisResults',
    method: 'post',
    data: data
  })
}

// 修改曲线分析结果
export function updateDispatchCurveAnalysisResults(data) {
  return request({
    url: '/system/dispatchCurveAnalysisResults',
    method: 'put',
    data: data
  })
}

// 删除曲线分析结果
export function delDispatchCurveAnalysisResults(curveAnalysisResultsId) {
  return request({
    url: '/system/dispatchCurveAnalysisResults/' + curveAnalysisResultsId,
    method: 'delete'
  })
}
